<h1>Jump</h1>

<p>The Jump action performs an unconditional branch to control the actions executed 
by the Flash Player. When executed the Jump action adds an offset to the instruction 
pointer and execution of the stream of actions continues from that address.</p>

<p>Although the Flash Player contains an instruction pointer it does not support 
an explicit address space. The instruction pointer is used to reference actions 
within the current stream of actions being executed whether they are associated 
with a given frame, button or movie clip. The value contained in the instruction 
pointer is the address relative to the start of the current stream.</p>

<table>

<tr>
<th nowrap>Field Name</th>
<th>Type</th>
<th>Size</th>
<th>Description</th>
</tr>

<tr>
<td nowrap valign="top"><a name="ActionType">Type</a></td>
<td nowrap valign="top">unsigned int</td>
<td nowrap align="right">8</td>
<td>Identifies the action when it is encoded.</td>
</tr>

<tr>
<td nowrap valign="top"><a name="ActionLength">Length</a></td>
<td nowrap valign="top">unsigned int</td>
<td nowrap align="right">16</td>
<td>The number of bytes in the rest of the encoded action. The total number of
bytes in the encoded action is Length+3.</td>
</tr>

<tr>
<td nowrap valign="top">offset</td>
<td nowrap valign="top">signed int</td>
<td nowrap align="right">16</td>
<td>The offset, relative to the current instruction pointer, to jump to.</td>
</tr>
</table>

<p>The offset is a signed number allowing branches up to -32768 to 32767 bytes. 
The instruction pointer points to the next instruction so specifying an offset 
of zero will have no effect on the sequence of instructions executed.</p>

<h2>History</h2>

<p>The Jump action represents the ActionJump action of the Macromedia Flash 
(SWF) File Format Specification. It was introduced in Flash 4.</p>
